
<!--{eval
$nowday = Afun_time_date(0,"Y-m-d");
if($post['day']){
	$lastday = Afun_time_date(Afun_time_ex($post['day'],-1,'d'),"Y-m-d");
}else{
	$lastday = Afun_time_date(Afun_time_ex($nowday,-1,'d'),"Y-m-d");
}
$nowweek = Afun_time_date(Afun_time_ex(Afun_get_time('time'),-6,'d'),"Y-m-d");
if($post['week']){
	$lastweek = Afun_time_date(Afun_time_ex($post['week'],-7,'d'),"Y-m-d");
}else{
	$lastweek = Afun_time_date(Afun_time_ex($nowweek,-7,'d'),"Y-m-d");
}
$nowmonth = Afun_time_date(0,"Y-m");
if($post['month']){
	$lastmonth = Afun_time_date(Afun_time_ex($post['month'],-1,'m'),"Y-m");
}else{
	$lastmonth = Afun_time_date(Afun_time_ex($nowmonth,-1,'m'),"Y-m");
}
$crmnav = array(
	'3分钟'		=>'&minute=3',
	'10分钟'	=>'&minute=10',
	'30分钟'	=>'&minute=30',
	'一小时'	=>'&minute=60',
	'当天'		=>'&day='.$nowday,
	'上一天'	=>'&day='.$lastday,
	'一周'		=>'&week='.$nowweek,
	'上一周'	=>'&week='.$lastweek,
	'本月'		=>'&month='.$nowmonth,
	'上一月'	=>'&month='.$lastmonth,
	'全部'		=>''
);
$crmnavnum = count($crmnav);
$addurl = '&status='.$post['status'].'&host='.$post['host'].'&sop='.$post['sop'].'&search='.$post['search'];
$navi = 0;
}-->
<div class="-main_nav">
	<span class="">总条数：$page->counts</span>
	<!--{if $this->Aact=='list'}-->
	<input type="button" onclick="javascript:checkall(0);" value="全选" >
	<input type="button" onclick="javascript:checkall(1);" value="反选">
	<!--{/if}-->
	<input type="submit" id="chkall_del" disabled="disabled" value="删除选择" onClick="javascript:form.action='$this->Amodr-delall';" />
	<input type="submit" value="错误用户" onClick="javascript:form.action='$this->Amodr-error';" />
	<div class="_page">
		$pages->html
		<!--<input type="number" size="8">
		<input type="button" value="跳转">-->
	</div>
	<div class="_menu">
	<!--{loop $crmnav $key $val}-->
		<!--{eval $navi++;
			$navclass = '';
			if($navi==$post[nav] || (empty($post[nav]) && $navi==$crmnavnum)){
				$navclass = 'class="_chk"';
			}
		}-->
		<span $navclass><a href="$this->Aactr-$this->id?nav=$navi{$val}$addurl">$key</a></span>
	<!--{/loop}-->
		<span><a href="$this->Aactr-$this->id">所有</a></span>
		<!--{eval Afun_runtime_html();}-->
	</div>
</div>